﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NewDDSys.Entity;
using NewDDSys.Factory;
using NewDDSys.IBLL;
using System.Data;

namespace NewDDSys.BLL
{
    public class DdhbBLL:IDdhbBLL
    {
        public int AddDdhb(DdhbInfo ddhb)
        {
            return DALFactory.CreateDdhbDAL().AddDdhb(ddhb);
        }
        public int UpdateDdhb(string num, string banbie, string banzu, string wb, string sc, string sb, string zl, string aq)
        {
            return DALFactory.CreateDdhbDAL().UpdateDdhb(num, banbie, banzu, wb, sc, sb, zl, aq);
        }

        public int Del(string num)
        {
            return DALFactory.CreateDdhbDAL().Del(num);
        }
        public DataSet Select(string num)
        {
            return DALFactory.CreateDdhbDAL().Select(num);
        }
        public DataSet SelectByDay(string sday)
        {
            return DALFactory.CreateDdhbDAL().SelectByDay(sday);
        }
        public string AUTOID()
        {
            return DALFactory.CreateDdhbDAL().AUTOID();
        }
        public DataSet ddinfo()
        {
            return DALFactory.CreateDdhbDAL().ddinfo();
        }
    }
}
